package com.xqq.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author xqq
 * @since 2024-11-04
 */
@Getter
@Setter
@TableName("disaster")
public class DisasterDO {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("position")
    private String position;

    @TableField("event_type")
    private String eventType;

    @TableField("event_type_zh")
    private String eventTypeZh;

    @TableField("alert_level")
    private String alertLevel;

    @TableField("description")
    private String description;

    @TableField("fromdate")
    private LocalDateTime fromdate;

    @TableField("todate")
    private LocalDateTime todate;

    @TableField("deleted")
    private Integer deleted;


}
